<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>统一认证平台</title>
    <link th:href="@{/webjars/bootstrap/5.3.8/css/bootstrap.min.css}" rel="stylesheet">
</head>
<body>
<div class="container-md">
    <div class="row align-items-center" style="height: 100vh;">
        <div class="col-md-6 offset-md-3">
<!--            <div class="card shadow">-->
<!--                <div class="card-body">-->
                    <div class="h2 card-title text-center mb-4">统一认证平台</div>
                    <form method="post" th:action="@{/oauth2/login}">
                        <div class="form-group mb-4">
                            <label for="username">用户名:</label>
                            <input type="text" class="form-control" id="username" placeholder="Enter username" name="username">
                        </div>
                        <div class="form-group mb-4">
                            <label for="password">密码:</label>
                            <input type="password" class="form-control" id="password" placeholder="Enter password" name="password" required>
                        </div>
                        <div class="form-group d-grid mb-4 gap-2">
                            <button type="submit" class="btn btn-primary btn-block">登录&授权</button>
                        </div>
                    </form>
<!--                </div>-->
<!--            </div>-->
        </div>
    </div>
</div>
</body>
</html>